Imports Microsoft.VisualBasic
Imports System
Namespace C4F.DevKit.WebServicesDemo
	Public Partial Class FlickrControl
		''' <summary> 
		''' Required designer variable.
		''' </summary>
		Private components As System.ComponentModel.IContainer = Nothing

		''' <summary> 
		''' Clean up any resources being used.
		''' </summary>
		''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		Protected Overrides Sub Dispose(ByVal disposing As Boolean)
			If disposing AndAlso (Not components Is Nothing) Then
				components.Dispose()
			End If
			MyBase.Dispose(disposing)
		End Sub

		#Region "Component Designer generated code"

		''' <summary> 
		''' Required method for Designer support - do not modify 
		''' the contents of this method with the code editor.
		''' </summary>
		Private Sub InitializeComponent()
            Me.SearchFlickr = New System.Windows.Forms.Button
            Me.AppKey = New System.Windows.Forms.TextBox
            Me.AppKeyLabel = New System.Windows.Forms.Label
            Me.SearchTerm = New System.Windows.Forms.TextBox
            Me.CriteriaLabel = New System.Windows.Forms.Label
            Me.FlickrGrid = New System.Windows.Forms.DataGridView
            Me.FlickrResults = New C4F.DevKit.WebServices.Datasets.DS_Flickr
            Me.idDataGridViewTextBoxColumn = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.titleDataGridViewTextBoxColumn = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.urlDataGridViewTextBoxColumn = New System.Windows.Forms.DataGridViewImageColumn
            Me.photoDetailsIdDataGridViewTextBoxColumn = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.FlickrService = New C4F.DevKit.WebServices.Flickr
            Me.titleDataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.urlDataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewLinkColumn
            CType(Me.FlickrGrid, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.FlickrResults, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SuspendLayout()
            '
            'SearchFlickr
            '
            Me.SearchFlickr.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.SearchFlickr.BackgroundImage = Global.Resources.go_next
            Me.SearchFlickr.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
            Me.SearchFlickr.Location = New System.Drawing.Point(800, 234)
            Me.SearchFlickr.Name = "SearchFlickr"
            Me.SearchFlickr.Size = New System.Drawing.Size(75, 23)
            Me.SearchFlickr.TabIndex = 1
            Me.SearchFlickr.Text = "GO"
            Me.SearchFlickr.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText
            Me.SearchFlickr.UseVisualStyleBackColor = True
            '
            'AppKey
            '
            Me.AppKey.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
            Me.AppKey.Location = New System.Drawing.Point(134, 236)
            Me.AppKey.Name = "AppKey"
            Me.AppKey.Size = New System.Drawing.Size(193, 20)
            Me.AppKey.TabIndex = 2
            Me.AppKey.Text = "d05c2f670fb2cb3ba207b41eeaf571ba "
            '
            'AppKeyLabel
            '
            Me.AppKeyLabel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
            Me.AppKeyLabel.AutoSize = True
            Me.AppKeyLabel.Location = New System.Drawing.Point(4, 239)
            Me.AppKeyLabel.Name = "AppKeyLabel"
            Me.AppKeyLabel.Size = New System.Drawing.Size(127, 13)
            Me.AppKeyLabel.TabIndex = 3
            Me.AppKeyLabel.Text = "Flickr App Key (Required)"
            '
            'SearchTerm
            '
            Me.SearchTerm.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.SearchTerm.Location = New System.Drawing.Point(601, 236)
            Me.SearchTerm.Name = "SearchTerm"
            Me.SearchTerm.Size = New System.Drawing.Size(193, 20)
            Me.SearchTerm.TabIndex = 2
            Me.SearchTerm.Text = "91191301@N00"
            '
            'CriteriaLabel
            '
            Me.CriteriaLabel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.CriteriaLabel.AutoSize = True
            Me.CriteriaLabel.Location = New System.Drawing.Point(531, 239)
            Me.CriteriaLabel.Name = "CriteriaLabel"
            Me.CriteriaLabel.Size = New System.Drawing.Size(68, 13)
            Me.CriteriaLabel.TabIndex = 3
            Me.CriteriaLabel.Text = "Flickr UserID"
            '
            'FlickrGrid
            '
            Me.FlickrGrid.AllowUserToAddRows = False
            Me.FlickrGrid.AllowUserToDeleteRows = False
            Me.FlickrGrid.AllowUserToOrderColumns = True
            Me.FlickrGrid.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                        Or System.Windows.Forms.AnchorStyles.Left) _
                        Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.FlickrGrid.AutoGenerateColumns = False
            Me.FlickrGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
            Me.FlickrGrid.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.titleDataGridViewTextBoxColumn1, Me.urlDataGridViewTextBoxColumn1})
            Me.FlickrGrid.DataMember = "PhotoData"
            Me.FlickrGrid.DataSource = Me.FlickrResults
            Me.FlickrGrid.Location = New System.Drawing.Point(3, 4)
            Me.FlickrGrid.Name = "FlickrGrid"
            Me.FlickrGrid.ReadOnly = True
            Me.FlickrGrid.Size = New System.Drawing.Size(870, 222)
            Me.FlickrGrid.TabIndex = 0
            '
            'FlickrResults
            '
            Me.FlickrResults.DataSetName = "DS_Flickr"
            Me.FlickrResults.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
            '
            'idDataGridViewTextBoxColumn
            '
            Me.idDataGridViewTextBoxColumn.DataPropertyName = "Id"
            Me.idDataGridViewTextBoxColumn.HeaderText = "Id"
            Me.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn"
            Me.idDataGridViewTextBoxColumn.ReadOnly = True
            '
            'titleDataGridViewTextBoxColumn
            '
            Me.titleDataGridViewTextBoxColumn.DataPropertyName = "Title"
            Me.titleDataGridViewTextBoxColumn.HeaderText = "Title"
            Me.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"
            Me.titleDataGridViewTextBoxColumn.ReadOnly = True
            '
            'urlDataGridViewTextBoxColumn
            '
            Me.urlDataGridViewTextBoxColumn.DataPropertyName = "Url"
            Me.urlDataGridViewTextBoxColumn.HeaderText = "Url"
            Me.urlDataGridViewTextBoxColumn.Name = "urlDataGridViewTextBoxColumn"
            Me.urlDataGridViewTextBoxColumn.ReadOnly = True
            Me.urlDataGridViewTextBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
            Me.urlDataGridViewTextBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic
            '
            'photoDetailsIdDataGridViewTextBoxColumn
            '
            Me.photoDetailsIdDataGridViewTextBoxColumn.DataPropertyName = "PhotoDetailsId"
            Me.photoDetailsIdDataGridViewTextBoxColumn.HeaderText = "PhotoDetailsId"
            Me.photoDetailsIdDataGridViewTextBoxColumn.Name = "photoDetailsIdDataGridViewTextBoxColumn"
            Me.photoDetailsIdDataGridViewTextBoxColumn.ReadOnly = True
            '
            'FlickrService
            '
            Me.FlickrService.ApplicationKey = ""
            Me.FlickrService.Proxy = Nothing
            '
            'titleDataGridViewTextBoxColumn1
            '
            Me.titleDataGridViewTextBoxColumn1.DataPropertyName = "Title"
            Me.titleDataGridViewTextBoxColumn1.HeaderText = "Title"
            Me.titleDataGridViewTextBoxColumn1.Name = "titleDataGridViewTextBoxColumn1"
            Me.titleDataGridViewTextBoxColumn1.ReadOnly = True
            Me.titleDataGridViewTextBoxColumn1.Width = 250
            '
            'urlDataGridViewTextBoxColumn1
            '
            Me.urlDataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
            Me.urlDataGridViewTextBoxColumn1.DataPropertyName = "Url"
            Me.urlDataGridViewTextBoxColumn1.HeaderText = "Url"
            Me.urlDataGridViewTextBoxColumn1.Name = "urlDataGridViewTextBoxColumn1"
            Me.urlDataGridViewTextBoxColumn1.ReadOnly = True
            Me.urlDataGridViewTextBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
            Me.urlDataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic
            '
            'FlickrControl
            '
            Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
            Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
            Me.Controls.Add(Me.CriteriaLabel)
            Me.Controls.Add(Me.SearchTerm)
            Me.Controls.Add(Me.AppKeyLabel)
            Me.Controls.Add(Me.AppKey)
            Me.Controls.Add(Me.SearchFlickr)
            Me.Controls.Add(Me.FlickrGrid)
            Me.Name = "FlickrControl"
            Me.Size = New System.Drawing.Size(876, 258)
            CType(Me.FlickrGrid, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.FlickrResults, System.ComponentModel.ISupportInitialize).EndInit()
            Me.ResumeLayout(False)
            Me.PerformLayout()

        End Sub

		#End Region

		Private FlickrService As C4F.DevKit.WebServices.Flickr
		Private FlickrResults As C4F.DevKit.WebServices.Datasets.DS_Flickr
		Private WithEvents FlickrGrid As System.Windows.Forms.DataGridView
		Private WithEvents SearchFlickr As System.Windows.Forms.Button
		Private AppKey As System.Windows.Forms.TextBox
		Private AppKeyLabel As System.Windows.Forms.Label
		Private SearchTerm As System.Windows.Forms.TextBox
		Private CriteriaLabel As System.Windows.Forms.Label
		Private idDataGridViewTextBoxColumn As System.Windows.Forms.DataGridViewTextBoxColumn
		Private titleDataGridViewTextBoxColumn As System.Windows.Forms.DataGridViewTextBoxColumn
		Private urlDataGridViewTextBoxColumn As System.Windows.Forms.DataGridViewImageColumn
        Private photoDetailsIdDataGridViewTextBoxColumn As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents titleDataGridViewTextBoxColumn1 As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents urlDataGridViewTextBoxColumn1 As System.Windows.Forms.DataGridViewLinkColumn
    End Class
End Namespace
